import {request} from "./requestConfig.js"


export function loginRequest(data){
    return request({
        url:"/user/login/",
        method: "post",
        data
    })
}


export function registerRequest(data){
    return request({
        url:"/user/register/",
        method: "post",
        data
    })
}